import {processRequest} from "@/frame/apis/request"
import APIS from "@/apis"

/**
 * 获取编码
 */
const getCode = async (id: string) => {
    return await processRequest.get(APIS.CODE_RULE_GET_CODE,
        {
            id: id
        })
}

/**
 * 暴露
 */
export {
    getCode
}